package com.wisezone.demo0218;

import java.lang.reflect.Proxy;

public class MyRroxy {
    private Object object;
    public Object blink(Object object){
        this.object = object;
        MyHander myHander = new MyHander(object);
        return Proxy.newProxyInstance(object.getClass().getClassLoader(),object.getClass().getInterfaces(),myHander);

    }
}
